Intersoft.Client.Framework Namespace > EventSubscription<TPayload> Class : EventSubscription<TPayload> Constructor |
Public Function New( _ ByVal actionReference As IDelegateReference, _ ByVal filterReference As IDelegateReference _ )
Dim actionReference As IDelegateReference Dim filterReference As IDelegateReference Dim instance As New EventSubscription(Of TPayload)(actionReference, filterReference)
public EventSubscription<TPayload>( IDelegateReference actionReference, IDelegateReference filterReference )
public: EventSubscription<TPayload>( IDelegateReference^ actionReference, IDelegateReference^ filterReference )
Exception | Description |
---|---|
System.ArgumentNullException | When actionReference or %% are a null reference (Nothing in Visual Basic). |
System.ArgumentException | When the target of actionReference is not of type Action, or the target of filterReference is not of type Predicate. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2